package com.millstein.ioc;

import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
public class Car {
    private String name;
    private String model;

    public void start() {
        System.out.println("发动");
    }
}
